<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Home extends PIUON_Controller {

    function __construct() {
        parent::__construct();
    }

    public function index() {
        $this->_head();

        $this->load->view('header');
        $this->load->view('main_WrapTop');
        $this->load->view('home/mainHome');
        $this->load->view('main_WrapBottom');

        $this->_foot();
    }

    public function homefeed() {
        $this->load->view('headTop');
        $this->load->view('home/headCss');
        $this->load->view('home/homeFeed/head_MainPageCss');
        $this->load->view('home/headJs');
        $this->load->view('headBottom');

        $this->load->view('header');
        $this->load->view('home/homeFeed/mainHomeFeed');
        
        $this->load->view('home/homeFeed/foot_MainPageJs');
        $this->load->view('home/footJs');
        $this->load->view('footBottom');
    }

}
